package cn.tedu.yl.dataOverview.mapper;

import cn.tedu.yl.dataOverview.pojo.vo.RechargeStatusList;
import cn.tedu.yl.dataOverview.pojo.vo.ReservationStatusList;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

@Repository
public interface dataOverviewMapper {

    Long getRegisterTotal(@Param("date") Date date);

    Long getSpendTotal(@Param("date") Date date);

    Long getRechargeTotal(@Param("date") Date date);

    List<ReservationStatusList> getReservationStatusList(@Param("start") String start, @Param("end") String end);

    List<RechargeStatusList> getRechargeStatusList(@Param("start") String start, @Param("end") String end);
}
